package com.petplanet

import android.os.Bundle
import androidx.activity.compose.setContent
import androidx.activity.enableEdgeToEdge
import androidx.appcompat.app.AppCompatActivity
import com.petplanet.common.ui.theme.PetPlanetTheme
import com.petplanet.navigation.NavApp

class MainActivity : AppCompatActivity() {
    companion object {
        const val TAG = "MainActivity"
    }

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        // 简化系统UI的处理使得内容能适应不同的屏幕和尺寸
        enableEdgeToEdge()
        setContent {
            PetPlanetTheme {
                NavApp()
            }
        }
    }
}